package com.itboye.mengwu.app.ui.mymeng;

import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.itboye.core.object.BaseActivity;
import com.itboye.mengwu.R;

public class ActivityQuanMessge extends BaseActivity implements OnClickListener {
    private RelativeLayout relayouPingMe, meZan, mePing, relayouHuiFuMe, relayouMeHuiFu;
    private ImageView back;
    private TextView txt_title;

    @Override
    public int initView() {
        // TODO Auto-generated method stub
        return R.layout.activity_guanzhu;
    }

    @Override
    public void onMyCreate() {
        // TODO Auto-generated method stub
        txt_title.setText("圈消息");
    }

    @Override
    public void onClick(View v) {
        // TODO Auto-generated method stub
        Intent intent = null;
        switch (v.getId()) {
            case R.id.relayouPingMe:
                // LoginController.MessgePrivateData(this, null);
                intent = new Intent(ActivityQuanMessge.this,
                        CommentMeActivity.class);
                intent.putExtra("quan", "评论我的");
                startActivity(intent);
                break;
            case R.id.meZan:
                intent = new Intent(ActivityQuanMessge.this,
                        ZanMeActivity.class);
                intent.putExtra("quan", "赞");
                startActivity(intent);
                break;
            case R.id.mePing:
                intent = new Intent(ActivityQuanMessge.this,
                        MeCommentActivity.class);
                intent.putExtra("quan", "我的评论");
                startActivity(intent);
                break;
            case R.id.relayouHuiFuMe:
                intent = new Intent(ActivityQuanMessge.this,
                        HuiFuMeActivity.class);
                intent.putExtra("quan", "回复我的");
                startActivity(intent);
                break;
            case R.id.relayouMeHuiFu:
                intent = new Intent(ActivityQuanMessge.this,
                        MeHuiFuActivity.class);
                intent.putExtra("quan", "我的回复");
                startActivity(intent);
                break;
            case R.id.back:
                this.finish();
                break;

            default:
                break;
        }
    }

}
